package com.code.day15DuoXianC.Thread03;

public class MyThrad2  extends Thread{
    @Override
    public  void run(){
        for (int i = 0; i < 100; i++) {

            System.out.println(MyThrad2.currentThread().getName()+ i);
            Thread.yield();
        }
    }
}
